package com.wanxi.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

//新闻
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class News {
    private Integer id;         //唯一标识
    private String title;       //新闻标题
    private String content;     //新闻内容
    private Date date;          //发布日期
    private Integer enable;     //数据状态
    private Date createTime;    //创建时间
    private Date updateTime;    //更新时间
    private String remark;      //备注

    private NewsType newsType;  //新闻类型
}
